Google Bard Can Now Help You Write Code in Over 20 Programming Languages

您所在的位置:网站首页 help help with Google Bard Can Now Help You Write Code in Over 20 Programming Languages

Google Bard Can Now Help You Write Code in Over 20 Programming Languages

2023-04-25 12:21| 来源: 网络整理| 查看: 265

Google's ChatGPT competitor Bard gained a new skill today: the ability to help us write and debug code in more than 20 different programming languages.

As Paige Bailey, Group Product Manager at Google Research, explains in a blog post(Opens in a new window), "Starting now, Bard can help with programming and software development tasks, including code generation, debugging and code explanation."

Bard's programming skills extend to more than 20 languages, including popular languages such as C++, Go, Java, JavaScript, Python, Typescript, and even Google Sheets functions. Python code can also be exported to Google Colab without needing to copy-paste it, allowing for easy code execution in your web browser.

If the code produced throws any error messages, Bard will help debug it if you tell the chatbot "this code didn’t work, please fix it." If you don't understand a piece of code, Bard will explain it, and you can ask it to look at specific pieces of code. For example, you could ask Bard to "tell me about the code within the google/jax GitHub repo." And if a piece of code is too slow for your needs, simply ask Bard "Could you please make that code faster?" and it will get to work speeding it up,

Bailey says Bard's code generation, debugging, and explanation ability "is particularly helpful if you’re learning about programming for the first time." However, Google is keen to remind us Bard is still just an early experiment and can produce "inaccurate, misleading or false information while presenting it confidently."

Recommended by Our Editors Google Forms New DeepMind Team to Develop 'World-Changing' AI Faster Bard Who? Google Tackles Bing AI Problem With New 'Magi' Search Engine ChatGPT vs. Google Bard vs. Bing: Which AI Chatbot Gives the Best Answers?

Anyone worried about the code Bard produces being quoted verbatim from an existing open source project without citing the source can relax. Google says citation will be included if Bard quotes at length from a project.

Get Our Best Stories!

Sign up for What's New Now to get our top stories delivered to your inbox every morning.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.

Thanks for signing up!

Your subscription has been confirmed. Keep an eye on your inbox!

Sign up for other newsletters


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3